package com.guoxin.chapter3.waitnotify.notifyholdlock;

/**
 * @author guoxin
 * @date 2019年8月22日
 */
public class NotifyThread extends Thread{
	private Object lock;

	public NotifyThread(Object lock) {
		super();
		this.lock = lock;
	}
	
	@Override
	public void run() {
		Service service = new Service();
		service.synNotifyMethod(lock);
	}
}
